package org.cent.demo.spring_boot_ssl.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/*
 * @author: cent
 * @email: zhao.chen@poi-t.com
 * @date: 2018/10/13.
 * @description:
 *
 */
@RestController
@RequestMapping("/demo")
public class DemoController {

    @RequestMapping(path = "/hello", method = RequestMethod.GET)
    public String hello() {
        return "Hello,It is a good day!";
    }
}
